/*
 * RightArrowButton : ArrowButton 右箭头按钮，继承自箭头按钮
 */
import QtQuick 2.15

ArrowButton {
    id: rightArrowBtn

    property bool isEnable: true

    // 信号
    signal clicked();

    arwWidth: 53
    arwIsSquare: true
    arwRadius: 53
    arwBgColor: "#80FFFFFF"
    arwIconPath: "qrc:/icons/left_arrow(filled).svg"
    // arwIconWidth: 18
    // arwIconHeight: 31
    rotation: 180
    isSvg: true

    MouseArea {
        enabled: isEnable
        anchors.fill: parent
        hoverEnabled: true
        cursorShape: isEnable ? Qt.PointingHandCursor : Qt.ArrowCursor // 指针变为小手图标
        onClicked: rightArrowBtn.clicked()
    }
}
